﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace GolfScoringApplication
{
    public partial class frmOptions : Form
    {
        RegistryGSA rGSA = new RegistryGSA();

        public frmOptions()
        {
            InitializeComponent();
        }

        private void frmOptions_Load(object sender, EventArgs e)
        {
            RefreshOptions();
        }

        private void RefreshOptions()
        {
            //Always get the freshest of the values.
            rGSA.Refresh();
            chkCFMaxNewForms.Checked = rGSA.MaxNewForms;


        }

        private void cmdCancel_Click(object sender, EventArgs e)
        {

        }

    }
}
